<?php
/**
 * Created by PhpStorm.
 * User: jksen
 * Date: 2018/1/26
 * Time: 下午2:46
 */
return [

    //oss 配置
    'oss' => [
        'ossServer' => 'fileishaohuo.oss-cn-hangzhou.aliyuncs.com', //服务器外网地址，深圳为 http://oss-cn-shenzhen.aliyuncs.com
        'ossServerInternal' => 'fileishaohuo.oss-cn-hangzhou-internal.aliyuncs.com', //服务器内网地址，深圳为 http://oss-cn-shenzhen-internal.aliyuncs.com
        'AccessKeyId' => 'LTAI3IHIjAnt2mMT', //阿里云给的AccessKeyId
        'AccessKeySecret' => 'uhoWK7WdqbHWTfox5MPN9AvgNTb4aS', //阿里云给的AccessKeySecret
        'Bucket' => 'fileishaohuo', //创建的空间名
        'expire' => 300, //设置该policy超时时间是10s. 即这个policy过了这个有效时间，将不能访问
        'endpoint' => 'oss-cn-hangzhou.aliyuncs.com',
    ],

    //redis 配置
    'REDIS_CONF' => [
        'master' => [
            ['host' => '139.196.110.120', 'auth' => '', 'select' => 5, 'port' => 6379, 'prefix' => ''],
        ],
        'slave' => [
            ['host' => '139.196.110.120', 'auth' => '', 'select' => 5, 'port' => 6379],
        ],
    ],

    //极光推送
    'jpush' => [
        'dev_key' => '713523f0a6ede0b5e6f17255',
        'dev_secret' => '18a4c7cce4a3d212f17243e7',
        'app_key' => 'b3b66a730eecb175e8815b57',
        'master_secret' => 'ea9055e7326f483047125747'
    ],


    //微信公众号支付
    'wx_mp_pay_dev' => [
        'APPID' => 'wx4c8887fb8baa87c1',
        'MCHID' => '1326509801',
        'KEY' => '5bfaab34c540ad6c0ad97c99a305966b',
        'APPSECRET' => 'd57d5d10d953685fe97744a4d2041917',
        'SSLCERT_PATH' => '/www/appapi/ThinkPHP/Library/Vendor/WxMpPay/public/weixin_cert.pem',
        'SSLKEY_PATH' => '/www/appapi/ThinkPHP/Library/Vendor/WxMpPay/public/weixin_key.pem',
        'CURLOPT_CAINFO' => '/www/appapi/ThinkPHP/Library/Vendor/WxMpPay/public/rootca.pem',
        'NOTIFY_URL' => 'https://pro-appapi.ishaohuo.cn/api/WxPay/WxMpNotify'
    ],

    //微信小程序（生产和测试同一个）
    'wx_wechat_pay' => [
        'APPID' => 'wxb20f090209f206b9',
        'MCHID' => '1310431001',
        'KEY' => '5bfaab34c540ad6c0ad97c99a305966b',
        'APPSECRET' => 'ba80c12b9e663b1a5215834d32ea5ed5',
        'NOTIFY_URL' => 'https://pro-appapi.ishaohuo.cn/api/WxPay/WxAppNotify'
    ],
    //域名
    'url' => 'https://dev-center.ishaohuo.cn'
];